@import '~ant-design-vue/es/style/themes/default.less';

.ant-layout-sider-children {
  .ant-menu-submenu-title {
    .anticon {
      font-size: 16px;
    }
  }

  .ant-menu-submenu-selected {
    .ant-menu-submenu-title {
      .anticon {
        g {
          fill: #1890ff;
        }
      }
    }
  }
}

.ant-menu-root>.ant-menu-submenu {
  // margin: 0 10px;
  border-bottom: 1px solid #E9E9EB;
}

.ant-pro-global-header-index-right {
  .ant-pro-global-header-index-action {
    color: #313131;
  }

  .ant-pro-global-header-index-action:hover {
    background: #c0e0ff;
  }

  .ant-pro-account-avatar {
    background-color: #eff7ff;
    .antd-pro-global-header-index-avatar {
      margin: ~'calc((@{layout-header-height} - 24px) / 2)' 0;
      margin-right: 8px;
      color: @primary-color;
      vertical-align: middle;
      background: rgba(255, 255, 255, 0.85);
    }
  }

  .menu {
    .anticon {
      margin-right: 8px;
    }

    .ant-dropdown-menu-item {
      min-width: 100px;
    }
  }
}

.ant-pro-top-nav-header-logo {
  width: auto;
}

.ant-pro-top-nav-header-logo h1 {
  font-weight: 600;
  font-size: 20px;
}

/**全局页面滚动条样式 */
::-webkit-scrollbar {
  width: 5px;
  height: 6px;
}
::-webkit-scrollbar-track {
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
}
::-webkit-scrollbar-thumb {
  background-color: #cdcdcd;
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
}

/*手机模拟器页面滚动条样式*/
.phone-preview-content ::-webkit-scrollbar {
  width: 2px;
}
.phone-preview-content ::-webkit-scrollbar-track {
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
}
.phone-preview-content ::-webkit-scrollbar-thumb {
  background-color: #cdcdcd;
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
}

.ant-pro-basicLayout-children-content-wrap {
  margin-top: -40px;
}
